<?php foreach($list as $v){?>
    <a class="info-list"
        <?php if($v['type']!=3){?>
            href="<?php echo url('travel/strategy_detail',['id'=>$v['id'],'type'=>$v['type']])?>"
        <?php }else{?>
            href="<?php echo url('travel/mate_detail',['id'=>$v['id']])?>"
        <?php }?>
    >
        <span class="one-txt-cut"><i class="iconfont"></i><?php echo $v['title']?></span>
        <span class="info-time"><?php echo $v['add_time']?></span>
    </a>
<?php }?>